package com.topc.participant.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
public class GroupShowVo {

    @ApiModelProperty(name = "group的编号")
    private  Long id;

    private String leaderName;

    private String groupName;

    private int courseCount;

    @ApiModelProperty(name = "创建时间", notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    protected LocalDateTime createTime;

    private int status;

    private String introduction;
    /**
     * 挂靠单位
     */
    private String affiliatedUnit;
    /**
     * 标语
     */
    private String slogan;


}
